package com.kzj.service;

import com.kzj.common.constant.GlobalConstant;
import com.kzj.common.enumerate.RoleEnum;
import com.kzj.common.result.Result;
import com.kzj.common.util.ValidateCodeUtil;
import com.kzj.pojo.dto.LoginDto;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;

public interface CommonService {
    public Result login(@RequestBody LoginDto dto, HttpSession session);
    public Result authCode(HttpSession session, HttpServletResponse response);
}
